<?php
namespace app\index\model;

use think\Model;

class Card extends Model
{
	public function getStatusAttr($value){
		return $value == 1 ? '正常' : '无效';
	}
}